package com.heqiang.controller;


import com.heqiang.client.AdminClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@SuppressWarnings("all")
@RestController
@RequestMapping("/client")
public class FeignController {
    @Autowired
    private AdminClient adminClient;

    @RequestMapping("/get")
    public String get() {
        return adminClient.get();
    }

}
